High compression audio files with high quality sound. How to use in VB 5.0 ! 1) Insert OCX in VB under PROJECT / COMPONENTS and a blue speaker apears in the components window 2) For the first step you can use a COMMAND button with the following two lines Private Sub Command1_Click() Dim err As Long err = Mp3Play2.Open("d:\song.mp3", "") ' "d:\song.mp3" is the path of the mp3 file Mp3Play2.Play End Sub 3) Use another COMMAND button with the following text Private Sub Command2_Click() Mp3Play1.Stop End Sub 4) ThatÆs all ! Now you can use MPEG Audio layer 3 in your program. 5) The OCX in the root work with all Windows 95 and NT 4 version. For the ActiveX version you need a Windows update ( MFC 4.2 ). You find a demo source for Visual Basic 5.0 SP3 in the directory VB. |